import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import yangshen from './views/reception/yangshen/router'
import lvjia from './views/Lj/router'
import lijuyang from './views/reception/ljy/router/router'
import backstage from './views/backstage/router'
import hxl from './views/Hxl/router'
import zhy from './views/reception/zhy/zhyrouter/router'

Vue.use(Router)

export default new Router({
    // mode: 'history',
    routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
      ...yangshen,
      ...lvjia,
      ...lijuyang,
      ...backstage,
      ...hxl,
      ...zhy,
        {
            path: '/upload',
            name: 'upload',
            component: () => import('@/views/upload/upVideo')
        }
  ]
})

